package exception;

public class FinallyDemoZUOYE {
    public static void main(String[] args) {
        System.out.println("开始");
        try {
            String line="";
            System.out.println(line.length());
            return;
        }catch (Exception q){
            System.out.println("出错误并解决");
        }finally {
            System.out.println("finally中的代码执行");
        }
        System.out.println("结束");
    }
}
